@RestController
@RequestMapping("/merchant")
@CrossOrigin(origins = "http://localhost:8080") // 添加跨域支持
public class AddProductController {
}